# 设置最低的CMake版本要求
cmake_minimum_required(VERSION 3.27)

# 设置项目名称
project(project_v1)

set(CMAKE_CXX_STANDARD 14)

# 设置编译选项
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -Wall")

set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR})

add_executable(project_v1 main.cc
        unixHeader.h
        CloudiskServer.h
        CloudiskServer.cc
        Hash.h
        Hash.cc
        Token.h
        Token.cc
)

# 链接动态库
target_link_libraries(project_v1
        wfrest
        workflow
        ssl
        crypto
        crypt
)
